package dongchel.vrp.entity;


import java.util.ArrayList;
import java.util.List;

public class GlobalInformation {
	public static int cityNum = 0;
	public static double maxX = -1;
	public static double minX = -1;
	public static double maxY = -1;
	public static double minY = -1;
	
	//city list
	public static List<City> cityList = new ArrayList();

	//city distance information
	public static double[][] distance;
	//city rank information
	public static int[][] ranks;
	
	//vehicle number
	public static int vehicleNum = 25;
	//vehicle capacity
	public static int vehicleCapacity = 200;
	//vehicle speed
	public static double vechielSpeed = 1;
	
	//neighbour area size
	public static int neighborSize = 20;
		
	//screen size
	public static int screenWidth = 640;
	public static int screenHeight = 600;
	public static int topMargin = 80;
	public static int leftMargin = 50;

	//in order to record current route id, we must record current route number have created
	public static int currentRouteNum = 0;
	
	public static int getCurrentRouteNum(){
		currentRouteNum++;
		return currentRouteNum;
	}


	public static int solutionNum = 0;
	public static int getSolutionNum(){
		solutionNum++;
		return solutionNum;
	}
	

	
}
